package com.hns.can.service.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.hns.can.common.entity.BaseEntity;
import org.hibernate.annotations.GenericGenerator;

/**
 * @版权：HNS 版权所有 (c) 2013
 * @author:JeffXu
 * @version Revision 1.0.0
 * @email:835264047@qq.com
 * @see:
 * @创建日期：2014-8-15
 * @功能说明：驾驶员考勤表
 * @begin
 * @修改记录:
 * @修改后版本          修改人      	修改内容
 * @2014-8-15  	         JeffXu        	创建
 * @end
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_BASE_DRIVER_EXAM_INFO")
public class BaseDriverExamInfoEntity extends BaseEntity implements java.io.Serializable {
    
    @Id
    @Column(name = "ATTEND_ID")
    private String     attendId;
    
    @Column(name = "CORP_ID")
    private String     corpId;
    
    @Column(name = "LINE_ID")
    private String     lineId;
    
    @Column(name = "DRV_ID")
    private String     drvId;
    
    @Column(name = "CAR_ID")
    private String     carId;
    
    @Column(name = "SIGN_IN_TIME")
    private String     signInTime;
    
    @Column(name = "SIGN_OUT_TIME")
    private String     signOutTime;
    
    @Column(name = "WORK_DURA")
    private String workDura;
    
    @Column(name = "CRT_TIME")
    private Date       crtTime;
    
    @Column(name = "CRT_USER")
    private String     crtUser;
    
    @Column(name = "UPDATE_TIME")
    private Date       updateTime;
    
    @Column(name = "UPDATE_USER")
    private String     updateUser;
    
    // 界面需要的字段 ---------------------------------
    
    @Transient
    private String     lineName;
    
    @Transient
    private String     carName;
    
    @Transient
    private String     drvName;
    
    @Transient
    private String     timeCardNO;
    @Transient
    private String timecardCardno;

    
    public String getLineName() {
        return lineName;
    }
    
    public void setLineName(String lineName) {
        this.lineName = lineName;
    }
    
    public String getCarName() {
        return carName;
    }
    
    public void setCarName(String carName) {
        this.carName = carName;
    }
    
    public String getDrvName() {
        return drvName;
    }
    
    public void setDrvName(String drvName) {
        this.drvName = drvName;
    }
    
    public String getTimeCardNO() {
        return timeCardNO;
    }
    
    public void setTimeCardNO(String timeCardNO) {
        this.timeCardNO = timeCardNO;
    }
    
    public BaseDriverExamInfoEntity() {
    }
    
    public String getAttendId() {
        return this.attendId;
    }
    
    public void setAttendId(String attendId) {
        this.attendId = attendId;
    }
    
    public String getCorpId() {
        return this.corpId;
    }
    
    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }
    
    public String getLineId() {
        return this.lineId;
    }
    
    public void setLineId(String lineId) {
        this.lineId = lineId;
    }
    
    public String getDrvId() {
        return this.drvId;
    }
    
    public void setDrvId(String drvId) {
        this.drvId = drvId;
    }
    
    public String getCarId() {
        return this.carId;
    }
    
    public void setCarId(String carId) {
        this.carId = carId;
    }
    
    public String getSignInTime() {
        return this.signInTime;
    }
    
    public void setSignInTime(String signInTime) {
        this.signInTime = signInTime;
    }
    
    public String getSignOutTime() {
        return this.signOutTime;
    }
    
    public void setSignOutTime(String signOutTime) {
        this.signOutTime = signOutTime;
    }
    
    public String getWorkDura() {
        return this.workDura;
    }
    
    public void setWorkDura(String workDura) {
        this.workDura = workDura;
    }
    
    public Date getCrtTime() {
        return this.crtTime;
    }
    
    public void setCrtTime(Date crtTime) {
        this.crtTime = crtTime;
    }
    
    public String getCrtUser() {
        return this.crtUser;
    }
    
    public void setCrtUser(String crtUser) {
        this.crtUser = crtUser;
    }
    
    public Date getUpdateTime() {
        return this.updateTime;
    }
    
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    
    public String getUpdateUser() {
        return this.updateUser;
    }
    
    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getTimecardCardno() {
        return timecardCardno;
    }

    public void setTimecardCardno(String timecardCardno) {
        this.timecardCardno = timecardCardno;
    }
}
